package com.example.taximeter.service;

import com.example.taximeter.bean.ReturnInfo;
import com.example.taximeter.bean.Role;

import java.util.List;


public interface RoleService {

    List<Role> findRolelist();

    String addRole(Role role);

    ReturnInfo findRoleAll(Integer pageNum, Integer pageSize, Role role);

    String updateRole(Role role);

    String deleteRole(Integer roleid);

    String updateRolePriv(Role role);
}
